package com.ruoyi.project.insurance.insurance.service;

import java.util.List;
import com.ruoyi.project.insurance.insurance.domain.insurance;

/**
 * insuranceService接口
 * 
 * @author ruoyi
 * @date 2022-02-08
 */
public interface IinsuranceService 
{
    /**
     * 查询insurance
     * 
     * @param id insurance主键
     * @return insurance
     */
    public insurance selectinsuranceById(String id);

    /**
     * 查询insurance列表
     * 
     * @param insurance insurance
     * @return insurance集合
     */
    public List<insurance> selectinsuranceList(insurance insurance);

    /**
     * 新增insurance
     * 
     * @param insurance insurance
     * @return 结果
     */
    public int insertinsurance(insurance insurance);

    /**
     * 修改insurance
     * 
     * @param insurance insurance
     * @return 结果
     */
    public int updateinsurance(insurance insurance);

    /**
     * 批量删除insurance
     * 
     * @param ids 需要删除的insurance主键集合
     * @return 结果
     */
    public int deleteinsuranceByIds(String ids);

    /**
     * 根据险种名称查询险种信息
     *
     * @param insuranceName
     * @return 结果
     */
    public insurance selectInsuranceByInsuranceName(String insuranceName);

    /**
     * 删除insurance信息
     * 
     * @param id insurance主键
     * @return 结果
     */
    public int deleteinsuranceById(String id);
}
